﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="viewAuditLogFiles.aspx.cs" Inherits="NCC_SOP.Admin.AdministratorOnly.viewAuditLogFiles" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div style="float:left;width:100%;">
      <telerik:radgrid ID="staticReportList" runat="server" Width="100%" DataSourceID="SqlDataSource1"
          AllowSorting="True" AllowPaging="True" PageSize="7" AutoGenerateColumns="False" EnableLinqExpressions="false">

          <MasterTableView DataKeyNames="id">
              <Columns>
                  <telerik:GridBoundColumn UniqueName="userID" DataField="userID" HeaderText="USER ID"
                      AllowFiltering="false" HeaderStyle-Width="100px" />

                  <telerik:GridBoundColumn UniqueName="auditlog" DataField="auditlog" HeaderText="Audit Track"
                      AllowFiltering="false" HeaderStyle-Width="500px" />

                  <telerik:GridBoundColumn UniqueName="createdOn" DataField="createdOn" HeaderText="Created On"
                      AllowFiltering="false" HeaderStyle-Width="200px" />

              </Columns>
          </MasterTableView>
      </telerik:radgrid>
  </div>

   <asp:SqlDataSource ID="SqlDataSource1"  runat="server" ConnectionString="<%$ ConnectionStrings:localSQLString %>"
            ProviderName="System.Data.SqlClient" 
            SelectCommand="select * from auditLog "></asp:SqlDataSource>
</asp:Content>